Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 950e82b26c4df142af8b156b2db3438a00c21954


Parents : 3f71ce1
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-01-14T08:38:21-06:00

Add build script for Arch package to handle permissions and execute makepkg

Changes

1 files changed, 12 insertions(+), 0 deletions(-)


Diff

diff --git a/packaging/arch/build.sh b/packaging/arch/build.sh
new file mode 100755
index 00000000..80730bc9
--- /dev/null
+++ b/packaging/arch/build.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+set -e
+
+# Fix permissions for the mounted volume
+sudo chown -R build:build /home/build/project
+
+# Navigate to the build directory
+cd /home/build/project
+
+# Run makepkg as the build user
+sudo -u build makepkg -s --noconfirm
+


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────